<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function f1() {
        console.log("f1");
    }
    f1();

    function f2(name,age) {
        console.log(name+":"+age);
    }
    f2("蔡徐坤",26)
    function f3() {
        return "练习时长两年半！";
    }
    let info=f3();
    console.log(info);
    function f4(x,y) {
        return x*y;
    }
    let result= f4(7,8);
    console.log(result);
    let f5=function (name,age) {
        console.log(name+":"+age);
    }
    f5("战鹰",28);
    let f6=new Function("name","age","console.log(name+':'+age)");
    f6("柯洁",25);
</script>
</body>
</html>